//
//  LocationManager.h
//  TimeBoat
//
//  Created by yangxiujiang on 2022/8/7.
//  Copyright © 2022 yang. All rights reserved.
//

#import <Foundation/Foundation.h>

@class CLLocation;

NS_ASSUME_NONNULL_BEGIN

@interface LocationManager : NSObject


+ (instancetype)shareInstance;

///开始定位
- (void)startLocation;

///停止定位
- (void)stopLocation;

///获取定位信息
@property (nonatomic, copy) void(^getLocationBlock)(CLLocation *myLocation);

@end

NS_ASSUME_NONNULL_END
